﻿#ifndef DIALOGPOP_H
#define DIALOGPOP_H
#include "Dialog.h"
#include "Widget.h"
#include "Label.h"
#include "PushButtonSystem.h"
class DialogPop : public Dialog
{
    Q_OBJECT
public:
    explicit DialogPop(QWidget *parent = nullptr);

    /*隐藏取消*/
    void hideCancelButton();

    void setWidget(QWidget* widget);
     void setText(QString str);
void showEvent(QShowEvent *event) ;
protected:
    QWidget* m_showWidget;

    Label* m_labelShow;

    PushButtonSystem* m_OKButton;
    PushButtonSystem* m_CancelButton;
signals:

};

#endif // DIALOGPOP_H
